package teacher.bean;

import java.util.Date;

/**
 * Project entity. @author MyEclipse Persistence Tools
 */

public class Project implements java.io.Serializable {

	// Fields

	private Integer proId;//主键
	private String name;//项目名称
	private Integer level;//0国家级；1省部级；2厅局级；3校级
	private String source;//项目来源
	private Integer funds;//经费
	private Integer arriveFunds;//到账经费
	private String leader;//项目负责人
//	private String communicate;//通信人员                          去掉
	private String others;//其他人员
	private Date beginDate;//项目开始日期
	private Integer state;//状态
	private String lowDepartment;//项目下达部门
	private Integer class_;//项目类型;纵向时：0重大项目,1一般项目,2面上项目,3青年项目,4国际（地区）合作项目,5重大研究项目,6子课题
                           //横向时：0：100万以上，1：50万以上，2：50万以下
	private String number;//项目编号
	private Date finishDate;//项目结束日期
	private String upload;//相对路径
	private Integer teaId;//老师Id
	
	private Integer kind;//项目种类；0纵向项目、1横向项目
	private Integer progress;//项目进展情况；0进行中、1已验收、2已鉴定、3已结题

	// Constructors

	/** default constructor */
	public Project() {
	}

	/** full constructor */
	public Project(String name, Integer level, String source, Integer funds,
			Integer arriveFunds, String leader, 
			String others, Date beginDate, Integer state, String lowDepartment,
			Integer class_, String number, Date finishDate, String upload,
			Integer teaId,Integer kind,Integer progress) {
		this.name = name;
		this.level = level;
		this.source = source;
		this.funds = funds;
		this.arriveFunds = arriveFunds;
		this.leader = leader;
//		this.communicate = communicate;
		this.others = others;
		this.beginDate = beginDate;
		this.state = state;
		this.lowDepartment = lowDepartment;
		this.class_ = class_;
		this.number = number;
		this.finishDate = finishDate;
		this.upload = upload;
		this.teaId = teaId;
		this.kind = kind;
		this.progress = progress;
	}

	// Property accessors

	public Integer getProId() {
		return this.proId;
	}

	public Integer getProgress() {
		return progress;
	}

	public void setProgress(Integer progress) {
		this.progress = progress;
	}

	public Integer getKind() {
		return kind;
	}

	public void setKind(Integer kind) {
		this.kind = kind;
	}

	public void setProId(Integer proId) {
		this.proId = proId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getFunds() {
		return this.funds;
	}

	public void setFunds(Integer funds) {
		this.funds = funds;
	}

	public Integer getArriveFunds() {
		return this.arriveFunds;
	}

	public void setArriveFunds(Integer arriveFunds) {
		this.arriveFunds = arriveFunds;
	}

	public String getLeader() {
		return this.leader;
	}

	public void setLeader(String leader) {
		this.leader = leader;
	}

	/*public String getCommunicate() {
		return this.communicate;
	}

	public void setCommunicate(String communicate) {
		this.communicate = communicate;
	}*/

	public String getOthers() {
		return this.others;
	}

	public void setOthers(String others) {
		this.others = others;
	}

	public Date getBeginDate() {
		return this.beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getLowDepartment() {
		return this.lowDepartment;
	}

	public void setLowDepartment(String lowDepartment) {
		this.lowDepartment = lowDepartment;
	}

	public Integer getClass_() {
		return this.class_;
	}

	public void setClass_(Integer class_) {
		this.class_ = class_;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Date getFinishDate() {
		return this.finishDate;
	}

	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public String getUpload() {
		return this.upload;
	}

	public void setUpload(String upload) {
		this.upload = upload;
	}

	public Integer getTeaId() {
		return this.teaId;
	}

	public void setTeaId(Integer teaId) {
		this.teaId = teaId;
	}

}